using System;

namespace Tool.BaseClass
{
	public static class GClass44
	{
		public static System.Uri smethod_0(this string string_0)
		{
			System.Uri result;
			try
			{
				result = new System.Uri(string_0);
			}
			catch
			{
				result = null;
			}
			return result;
		}

		public static System.Uri smethod_1(this string string_0, string string_1)
		{
			System.Uri result;
			try
			{
				System.Uri uri = new System.Uri(string_0);
				if (!(uri == null))
				{
					result = new System.Uri(uri, string_1);
				}
				else
				{
					result = null;
				}
			}
			catch
			{
				result = null;
			}
			return result;
		}
	}
}
